package red.uec.service;

import com.baomidou.mybatisplus.service.IService;
import red.uec.entity.UserAsset;
import red.uec.model.*;

/**
 * <p>
 * 用户资产表 服务类
 * </p>
 *
 * @author 谭剑晖
 * @since 2018-11-13
 */
public interface UserAssetService extends IService<UserAsset> {
    /**
     * 用户资产注册
     * @param request
     * @return
     */
    UserAssetRegisterResponse register(UserAssetRegisterRequest request);

    /**
     * 查询个人资产列表
     * @param userAssetQueryRequest
     * @return
     */
    UserAssetQueryResponse query(UserAssetQueryRequest userAssetQueryRequest);

    /**
     * 资产转让
     * @param userAssetTransferRequest
     * @return
     */
    UserAssetTransferResponse transfer(UserAssetTransferRequest userAssetTransferRequest);
}
